package test.allrolespresentImplicitMember;

import dk.au.cs.peterbn.annotations.Pattern;

/**
 * A fuel vending machine
 */
@Pattern(id="test.allrolespresentImplicitMember",name="gof:Strategy",role="Context")
public class PayStation {

    private RateStrategy strategy;

    public void contextMethod() {
        strategy = new LinearStrategy();
        strategy.calculatePrice(200);
    }

}
